package com.java2207.group1.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author HuiCL
 * @version 1.0
 * @date 2022/7/27 15:21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AssetsBo {

    @ExcelProperty(value = "编号")
    private Integer id;

    @ExcelProperty(value = "当天收入")
    private Integer todayIncome;

    @ExcelProperty(value = "当天支出")
    private Integer todayExpense;

    @ExcelProperty(value = "当天利润")
    private Integer todayProfit;

    @ExcelProperty(value = "账户资金")
    private Integer totalAssets;
    // 日期
    @ExcelProperty(value = "日期")
    @DateTimeFormat("yyyy-MM-dd")
    private Date date;
}
